-- GENERATED SPELL FOR [Plains Mammoth] --


function spell0_30448(pUnit, Event) --@Tusk Strike,n/a--
pUnit:FullCastSpellOnTarget(50410,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30448', 593, 1)
end

function Sorts_30448(pUnit, Event)
local choix_sorts_30448 = math.random(0, 0)
if choix_sorts_30448 == 0 then
pUnit:RegisterEvent('spell0_30448', 1, 1)
end
end

function mob30448_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30448', math.random(1500, 3000), 1)
end

function mob30448_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30448_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30448_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30448, 1, 'mob30448_Action')
RegisterUnitEvent(30448, 2, 'mob30448_Leave')
RegisterUnitEvent(30448, 3, 'mob30448_Kill')
RegisterUnitEvent(30448, 4, 'mob30448_Die')
